package com.itheima.byteStream;

import java.io.FileOutputStream;
import java.io.IOException;

public class Demo03 {

    public static void main(String[] args)  {

        FileOutputStream fos = null;
        try {
            fos = new FileOutputStream("day12\\aaa\\a.txt");
            // String s="\r\n";
            // fos.write(s.getBytes());//\r\n
            fos.write(13);
            fos.write(10);
            fos.write('A');
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            if (fos!=null) {
                try {
                    fos.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }





    }
}
